package com.shire.shire_interface.dao.stat;

import com.shire.shire_interface.model.stat.CsGroupStat;
import com.shire.shire_interface.model.stat.CsGroupStatExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CsGroupStatDao {
    long countByExample(CsGroupStatExample example);

    int deleteByExample(CsGroupStatExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CsGroupStat record);

    int insertSelective(CsGroupStat record);

    List<CsGroupStat> selectByExample(CsGroupStatExample example);

    CsGroupStat selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CsGroupStat record, @Param("example") CsGroupStatExample example);

    int updateByExample(@Param("record") CsGroupStat record, @Param("example") CsGroupStatExample example);

    int updateByPrimaryKeySelective(CsGroupStat record);

    int updateByPrimaryKey(CsGroupStat record);
}